﻿// =================================================================== 
// 项目说明
//====================================================================
// Wup。@Copy Right 2014
// 文件： Feedback.cs
// 项目名称：买车网
// 创建时间：2014/7/20
// 负责人：Wup
// ===================================================================
using System;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ComponentModel;
namespace Weixin.Entity.ChinaTax
{
	/// <summary>
	///Feedback数据实体
	/// </summary>
	[Serializable]
	[DataContract]
	public class FeedbackEntity
	{
		#region 变量定义
		///<summary>
		///
		///</summary>
		private int _id;
		///<summary>
		///
		///</summary>
		private string _name = String.Empty;
		///<summary>
		///
		///</summary>
		private int _sex;
		///<summary>
		///
		///</summary>
		private string _mobile = String.Empty;
		///<summary>
		///
		///</summary>
		private string _email = String.Empty;
		///<summary>
		///
		///</summary>
		private string _province = String.Empty;
		///<summary>
		///
		///</summary>
		private string _city = String.Empty;
		///<summary>
		///
		///</summary>
		private string _address = String.Empty;
		///<summary>
		///
		///</summary>
		private DateTime _createTime;
		///<summary>
		///
		///</summary>
		private string _userName = String.Empty;
		///<summary>
		///
		///</summary>
		private string _detail = String.Empty;
		#endregion
		
		#region 构造函数

		///<summary>
		///
		///</summary>
		public FeedbackEntity()
		{
		}
		///<summary>
		///
		///</summary>
		public FeedbackEntity
		(
			int id,
			string name,
			int sex,
			string mobile,
			string email,
			string province,
			string city,
			string address,
			DateTime createTime,
			string userName,
			string detail
		)
		{
			_id         = id;
			_name       = name;
			_sex        = sex;
			_mobile     = mobile;
			_email      = email;
			_province   = province;
			_city       = city;
			_address    = address;
			_createTime = createTime;
			_userName   = userName;
			_detail     = detail;
			
		}
		#endregion
		
		#region 公共属性

		
		///<summary>
		///
		///</summary>
		[DataMember]
		public int Id
		{
			get {return _id;}
			set {_id = value;}
		}

		///<summary>
		///
		///</summary>
		[DataMember]
		public string Name
		{
			get {return _name;}
			set {_name = value;}
		}

		///<summary>
		///
		///</summary>
		[DataMember]
		public int Sex
		{
			get {return _sex;}
			set {_sex = value;}
		}

		///<summary>
		///
		///</summary>
		[DataMember]
		public string Mobile
		{
			get {return _mobile;}
			set {_mobile = value;}
		}

		///<summary>
		///
		///</summary>
		[DataMember]
		public string Email
		{
			get {return _email;}
			set {_email = value;}
		}

		///<summary>
		///
		///</summary>
		[DataMember]
		public string Province
		{
			get {return _province;}
			set {_province = value;}
		}

		///<summary>
		///
		///</summary>
		[DataMember]
		public string City
		{
			get {return _city;}
			set {_city = value;}
		}

		///<summary>
		///
		///</summary>
		[DataMember]
		public string Address
		{
			get {return _address;}
			set {_address = value;}
		}

		///<summary>
		///
		///</summary>
		[DataMember]
		public DateTime CreateTime
		{
			get {return _createTime;}
			set {_createTime = value;}
		}

		///<summary>
		///
		///</summary>
		[DataMember]
		public string UserName
		{
			get {return _userName;}
			set {_userName = value;}
		}

		///<summary>
		///
		///</summary>
		[DataMember]
		public string Detail
		{
			get {return _detail;}
			set {_detail = value;}
		}
	
		#endregion
		
	}
}
